using System;
using DesignPrinciples.OCPSolution;

namespace DesignPrinciples.SRPSolution
{
    public class DisplayTemperature : IDisplayTemperature
    {
        private readonly int _Temperature;

        public DisplayTemperature(int temperature)
        {
            _Temperature = temperature;
        }

        public string Temperature()
        {
            return "The current temperature is: " + _Temperature + " degrees celcius.";
        }

    }
}
